﻿@model GestionSaludOcupacional.Portal.Base.ViewModels.HistoriaClinica.FactorRiesgoViewModel
<div class="form-horizontal">
    <fieldset>
        <legend>Factor Riesgo</legend>
        <div class="control-group">
            <div class="control-label">
                @Html.LabelFor(model => model.NombreCentroTrabajo)
            </div>
            <div class="controls">
                @Html.TextBoxFor(model => model.NombreCentroTrabajo, new { @data_bind = "value: NombreCentroTrabajo" })
                @Html.ValidationMessageFor(model => model.NombreCentroTrabajo)
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                @Html.LabelFor(model => model.Cargo)
            </div>
            <div class="controls">
                @Html.TextBoxFor(model => model.Cargo, new { @data_bind = "value: Cargo" })
                @Html.ValidationMessageFor(model => model.Cargo)
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                <label for="TiempoLaboradoAno">
                    Tiempo Laborado</label>
            </div>
            <div class="controls">
                <div class="input-append">
                    @Html.TextBoxFor(model => model.TiempoLaboradoAno, new { @data_bind = "value: TiempoLaboradoAno", @class = "span2" })<span
                        class="add-on">Año</span>
                    @Html.TextBoxFor(model => model.TiempoLaboradoAno, new { @data_bind = "value: TiempoLaboradoMes", @class = "span2" })<span
                        class="add-on">Mes</span>
                </div>
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                <label for="TiempoAntiguedadAno">
                    Tiempo Antiguedad</label>
            </div>
            <div class="controls">
                <div class="input-append">
                    @Html.TextBoxFor(model => model.TiempoLaboradoAno, new { @data_bind = "value: TiempoAntiguedadAno", @class = "span2" })<span
                        class="add-on">Año</span>
                    @Html.TextBoxFor(model => model.TiempoLaboradoAno, new { @data_bind = "value: TiempoAntiguedasmes", @class = "span2" })<span
                        class="add-on">Mes</span>
                </div>
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                @Html.LabelFor(model => model.RiesgoFisico)
            </div>
            <div class="controls">
                @Html.CheckBoxFor(model => model.RiesgoFisico.Value, new { @data_bind = "checked: RiesgoFisico" })
                @Html.ValidationMessageFor(model => model.RiesgoFisico)
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                @Html.LabelFor(model => model.RiesgoQuimico)
            </div>
            <div class="controls">
                @Html.CheckBoxFor(model => model.RiesgoQuimico.Value, new { @data_bind = "checked: RiesgoQuimico" })
                @Html.ValidationMessageFor(model => model.RiesgoQuimico)
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                @Html.LabelFor(model => model.RiesgoBiologico)
            </div>
            <div class="controls">
                @Html.CheckBoxFor(model => model.RiesgoBiologico.Value, new { @data_bind = "checked: RiesgoBiologico" })
                @Html.ValidationMessageFor(model => model.RiesgoBiologico)
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                @Html.LabelFor(model => model.RiesgoErgonomico)
            </div>
            <div class="controls">
                @Html.CheckBoxFor(model => model.RiesgoErgonomico.Value, new { @data_bind = "checked: RiesgoErgonomico" })
                @Html.ValidationMessageFor(model => model.RiesgoErgonomico)
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                @Html.LabelFor(model => model.RiesgoMecanico)
            </div>
            <div class="controls">
                @Html.CheckBoxFor(model => model.RiesgoMecanico.Value, new { @data_bind = "checked: RiesgoMecanico" })
                @Html.ValidationMessageFor(model => model.RiesgoMecanico)
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                @Html.LabelFor(model => model.RiesgoPsicolaboral)
            </div>
            <div class="controls">
                @Html.CheckBoxFor(model => model.RiesgoPsicolaboral.Value, new { @data_bind = "checked: RiesgoPsicolaboral" })
                @Html.ValidationMessageFor(model => model.RiesgoPsicolaboral)
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                @Html.LabelFor(model => model.RiesgoLocativo)
            </div>
            <div class="controls">
                @Html.CheckBoxFor(model => model.RiesgoLocativo.Value, new { @data_bind = "checked: RiesgoLocativo" })
                @Html.ValidationMessageFor(model => model.RiesgoLocativo)
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                @Html.LabelFor(model => model.OtrosRiesgos)
            </div>
            <div class="controls">
                <textarea data-bind="value: OtrosRiesgos" class="span4" rows="5"></textarea>
                @Html.ValidationMessageFor(model => model.OtrosRiesgos)
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                @Html.LabelFor(model => model.Epp)
            </div>
            <div class="controls">
                @Html.CheckBoxFor(model => model.Epp.Value, new { @data_bind = "checked: Epp" })
                @Html.ValidationMessageFor(model => model.Epp)
            </div>
        </div>
        <div class="control-group">
            <div class="control-label">
                @Html.LabelFor(model => model.Descripcion)
            </div>
            <div class="controls">
                <textarea data-bind="value: Descripcion" class="span4" rows="5"></textarea>
                @Html.ValidationMessageFor(model => model.Descripcion)
            </div>
        </div>
    </fieldset>
</div>
